package com.bauer.java.datagen.file;

import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import org.apache.commons.io.FileUtils;

/**
 * @description:
 * @author: weirui
 * @create: 2020-07-27 15:12
 **/
public class TxtFileGen {


    public static void main(String[] args) throws IOException {
        File file = new File("D://cfc_hb_OverdueComp_20200918.txt");
        FileUtils
            .writeLines(file, "GBK", Arrays.asList("99990106600004188875074|丁建斌|20181122|950|54|123.16|83.47|3.65|.06|210.34"),
                null);
    }

}
